﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using Microsoft.Practices.Composite.UnityExtensions;
using Microsoft.Practices.Composite.Modularity;

namespace Centrica.Task.App
{
    /// <summary>
    /// 
    /// </summary>
    class Bootstrapper : UnityBootstrapper
    {
        protected override DependencyObject CreateShell()
        {
            TaskViewWindow shell = new /*Shell();*/ TaskViewWindow();
            shell.Show();
            return shell;
        }

        protected override IModuleCatalog GetModuleCatalog()
        {
            return new ModuleCatalog();
                /// .AddModule(typeof(Centrica.Task.Module.Module));
        }
    }
}
